package cn.ming.wfchat.app.me.activity.model;

import java.io.Serializable;
import java.util.List;

public class RedPageListBean implements Serializable {

    /**
     * redPacketOrder : {"id":71,"createTime":"2020-12-03 11:00:48","deleted":false,"hash":"20201203110047827678407","amount":2,"number":2,"slogan":"恭喜发财，大吉大利。","fromUserId":56,"toTarget":"wNw5w5nn","statusEnum":"PROCESS","portrait":"https://com-dong-bucket.oss-cn-hongkong.aliyuncs.com/pic/20200924/1600944959591422543.png","displayName":"153****8990","alias":null}
     * usdtRate : 6.43
     * list : [{"id":81,"createTime":"2020-12-03 11:00:51","deleted":false,"redPacketId":71,"fromUserId":56,"takeUserId":56,"amount":0.25937,"totalAmount":2,"totalSum":2,"portrait":"https://com-dong-bucket.oss-cn-hongkong.aliyuncs.com/pic/20200924/1600944959591422543.png","displayName":"153****8990","alias":null}]
     */

    private RedPacketOrderBean redPacketOrder;
    private double usdtRate;
    private List<ListBean> list;

    public RedPacketOrderBean getRedPacketOrder() {
        return redPacketOrder;
    }

    public void setRedPacketOrder(RedPacketOrderBean redPacketOrder) {
        this.redPacketOrder = redPacketOrder;
    }

    public double getUsdtRate() {
        return usdtRate;
    }

    public void setUsdtRate(double usdtRate) {
        this.usdtRate = usdtRate;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class RedPacketOrderBean {
        /**
         * id : 71
         * createTime : 2020-12-03 11:00:48
         * deleted : false
         * hash : 20201203110047827678407
         * amount : 2.0
         * number : 2
         * slogan : 恭喜发财，大吉大利。
         * fromUserId : 56
         * toTarget : wNw5w5nn
         * statusEnum : PROCESS
         * portrait : https://com-dong-bucket.oss-cn-hongkong.aliyuncs.com/pic/20200924/1600944959591422543.png
         * displayName : 153****8990
         * alias : null
         */

        private int id;
        private String createTime;
        private boolean deleted;
        private String hash;
        private double amount;
        private int number;
        private String slogan;
        private int fromUserId;
        private String toTarget;
        private String statusEnum;
        private String portrait;
        private String displayName;
        private String receiveAmount;
        private Object alias;

        public String getReceiveAmount() {
            return receiveAmount;
        }

        public void setReceiveAmount(String receiveAmount) {
            this.receiveAmount = receiveAmount;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public boolean isDeleted() {
            return deleted;
        }

        public void setDeleted(boolean deleted) {
            this.deleted = deleted;
        }

        public String getHash() {
            return hash;
        }

        public void setHash(String hash) {
            this.hash = hash;
        }

        public double getAmount() {
            return amount;
        }

        public void setAmount(double amount) {
            this.amount = amount;
        }

        public int getNumber() {
            return number;
        }

        public void setNumber(int number) {
            this.number = number;
        }

        public String getSlogan() {
            return slogan;
        }

        public void setSlogan(String slogan) {
            this.slogan = slogan;
        }

        public int getFromUserId() {
            return fromUserId;
        }

        public void setFromUserId(int fromUserId) {
            this.fromUserId = fromUserId;
        }

        public String getToTarget() {
            return toTarget;
        }

        public void setToTarget(String toTarget) {
            this.toTarget = toTarget;
        }

        public String getStatusEnum() {
            return statusEnum;
        }

        public void setStatusEnum(String statusEnum) {
            this.statusEnum = statusEnum;
        }

        public String getPortrait() {
            return portrait;
        }

        public void setPortrait(String portrait) {
            this.portrait = portrait;
        }

        public String getDisplayName() {
            return displayName;
        }

        public void setDisplayName(String displayName) {
            this.displayName = displayName;
        }

        public Object getAlias() {
            return alias;
        }

        public void setAlias(Object alias) {
            this.alias = alias;
        }
    }

    public static class ListBean {
        /**
         * id : 81
         * createTime : 2020-12-03 11:00:51
         * deleted : false
         * redPacketId : 71
         * fromUserId : 56
         * takeUserId : 56
         * amount : 0.25937
         * totalAmount : 2.0
         * totalSum : 2
         * portrait : https://com-dong-bucket.oss-cn-hongkong.aliyuncs.com/pic/20200924/1600944959591422543.png
         * displayName : 153****8990
         * alias : null
         */

        private String id;
        private String createTime;
        private boolean deleted;
        private int redPacketId;
        private String fromUserId;
        private String takeUserId;
        private double amount;
        private double totalAmount;
        private int totalSum;
        private String portrait;
        private String displayName;
        private Object alias;
        private String cnyAmount;

        public String getCnyAmount() {
            return cnyAmount;
        }

        public void setCnyAmount(String cnyAmount) {
            this.cnyAmount = cnyAmount;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public boolean isDeleted() {
            return deleted;
        }

        public void setDeleted(boolean deleted) {
            this.deleted = deleted;
        }

        public int getRedPacketId() {
            return redPacketId;
        }

        public void setRedPacketId(int redPacketId) {
            this.redPacketId = redPacketId;
        }

        public String getFromUserId() {
            return fromUserId;
        }

        public void setFromUserId(String fromUserId) {
            this.fromUserId = fromUserId;
        }

        public String getTakeUserId() {
            return takeUserId;
        }

        public void setTakeUserId(String takeUserId) {
            this.takeUserId = takeUserId;
        }

        public double getAmount() {
            return amount;
        }

        public void setAmount(double amount) {
            this.amount = amount;
        }

        public double getTotalAmount() {
            return totalAmount;
        }

        public void setTotalAmount(double totalAmount) {
            this.totalAmount = totalAmount;
        }

        public int getTotalSum() {
            return totalSum;
        }

        public void setTotalSum(int totalSum) {
            this.totalSum = totalSum;
        }

        public String getPortrait() {
            return portrait;
        }

        public void setPortrait(String portrait) {
            this.portrait = portrait;
        }

        public String getDisplayName() {
            return displayName;
        }

        public void setDisplayName(String displayName) {
            this.displayName = displayName;
        }

        public Object getAlias() {
            return alias;
        }

        public void setAlias(Object alias) {
            this.alias = alias;
        }
    }
}
